package
{
	import flash.events.EventDispatcher;
	
	import mx.collections.ArrayCollection;
	
	public class MyModel extends EventDispatcher
	{
		public var list:ArrayCollection = null;
		
		public function MyModel()
		{
			this.list = new ArrayCollection();
		}
		
		public function addObject(string:String):void {
			this.list.addItem(string);
			dispatchEvent(new MyEvent(MyEvent.OBJECT_ADDED, string));
		}

	}
}